import styled from "styled-components";

const BuyBtnStyle = styled.div`
  position: fixed;
  bottom: -1px;
  height: 50px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #eeecec;
  margin-left: calc(-1 * var(--paddingX));
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
  max-width: 800px;

  .price {
    display: flex;
    align-items: center;
    justify-content: center;

    .orginPrice {
      text-decoration: line-through;
      font-size: 13px;
    }

    .nowPrice {
      font-size: 20px;
      color: var(--themeColor3);
      margin: 0 15px;
    }
  }

  .phone {
    color: var(--themeColor3);
    font-size: 20px;
    ${(props) => props.theme.clickActiveAnimation}
  }

  .buy_btn {
    width: 30%;
    font-size: 15px;
    color: white;
    text-align: center;
    height: 100%;
    line-height: 50px;
    background-color: var(--themeColor3);
  }

  .disabled_buy_btn {
    ${(props) => props.theme.disabledStyle}
  }
`;

export default BuyBtnStyle;
